
		(function (doc, win) {
        	var docEl = doc.documentElement,
            resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
            recalc = function () {
                var clientWidth = docEl.clientWidth;
                console.log(clientWidth);
                if (!clientWidth) return;
                if(clientWidth>=1000){
                    docEl.style.fontSize = 100 + 'px';
                }else{
                    docEl.style.fontSize = 100 * (clientWidth / 750)+ 'px';
                }
            };

        if (!doc.addEventListener) return;
        win.addEventListener(resizeEvt, recalc, false);
        doc.addEventListener('DOMContentLoaded', recalc, false);
    })(document, window);
function loadCSS() {
 if((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|wOSBrowser|BrowserNG|WebOS)/i))) {
        return;
    }
    else {
        document.write('<style>body,.toptxtbg,.sjlxbg{max-width:750px; margin:0 auto;}</style>');
    }
}
loadCSS();